package com.sky.mapper;

import com.sky.dto.GoodsSalesDTO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface ReportMapper {
    Double selectTurnoverNumByTimeAndStatus(Map<String, Object> map);

    Long selectUserNumByTime(Map<String, Object> map);

    Integer selectOrderNumByTimeAndStatus(Map<String, Object> map);

    List<GoodsSalesDTO> selectTop10ByTimeAndStatus(Map<String, Object> map);
}
